﻿using HttpTaskModel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace HttpTaskModel
{
    /// <summary>
    /// 站点域名管理
    /// </summary>
    [DataContract(IsReference = true)]
    public class DomainConfig : EntityBase
    {
        /// <summary>
        /// 是否可用
        /// </summary>
        public bool IsEnable { get; set; } = true;
        /// <summary>
        /// 域名
        /// </summary>
        [MaxLength(50)]
        [Required(AllowEmptyStrings = false)]
        public string Domain { get; set; }

        public List<TerminalServer> TerminalServers { get; set; }
    }
    
   
}
